 
set builder=%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
set type=Release
set outputPath=C:\Documents and Settings\tangj15\My Documents\svnCode\EntLib\Blocks\TSharp
set "outputPath=%outputPath:\=\\%"
if "%1%" == "" goto release
echo Building, please wait a minute...
%builder% "%1%" /t:rebuild /p:configuration=%type% OutDir="lib\%type%\" /m >TSharp.Build.log

echo Building Complete! 
goto end

:release
%builder% /t:Rebuild EnterpriseLibrary.sln /p:OutDir="%outputPath%\\bin\\" /p:WebProjectOutputDir="%outputPath%\\" /p:Confguration=%type% /m >TSharp.Build.log

:end
pause